#ifndef MAINWINDOW_H
#define MAINWINDOW_H

#include <QMainWindow>
#include "myhead.h"

QT_BEGIN_NAMESPACE
namespace Ui { class MainWindow; }
QT_END_NAMESPACE

class MainWindow : public QMainWindow
{
    Q_OBJECT

public:
    MainWindow(QWidget *parent = nullptr);
    ~MainWindow();



private slots:
    void on_pushButton_4_clicked();

    void on_pushButton_5_clicked();
    void weast(QNetworkReply *reply);
    void fun(QNetworkReply *reply);
    void table();
    void on_BTc1_clicked();

    void on_BTc2_clicked();

    void on_BTc3_clicked();

    void on_BTc4_clicked();

    void on_BTc5_clicked();

    void on_BTc6_clicked();

    void on_btcam_clicked();

    void get_result();

    void get_carside();

    void on_pushButton_clicked();

private:
    Ui::MainWindow *ui;
    QNetworkAccessManager *manager1;
    QNetworkAccessManager *manager2;
    QTimer *timer1;
    QTimer *timer2;
    QTimer *timer3;
    QCamera * camera;
    QSqlDatabase base1;

    int sign = 6;

};
#endif // MAINWINDOW_H
